package control;

import javax.servlet.http.HttpServletRequest;

import utils.Utils;

public class Paginacao {
	private int paginaAtual=1;
	private int count;
	
	
	
	public Paginacao(HttpServletRequest request) {
		super();
		if (!Utils.isBlank(request.getParameter("paginaAtual")))
			this.paginaAtual=Integer.valueOf(request.getParameter("paginaAtual"));
		this.count = 0;
	}
	public int getPaginaAtual() {
		return paginaAtual;
	}
	public void setPaginaAtual(int paginaAtual) {
		this.paginaAtual = paginaAtual;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}

}
